// 定义组件
define(function (require,exports,module) {
    var loading = Vue.extend({
        template: '<div class="loading_container">'+
				'<div class="load_img" :style="{backgroundPositionY: -(positionY%7)*50 + \'px\'}">'+
				'</div>'+
				'</div>',
        data:function(){
            return{
                positionY: 0,
                timer: null,
            }
        },
        mounted:function(){
        	var that = this;
        },
        beforeDestroy:function(){
            clearInterval(this.timer);
        }
    });
    module.exports = loading;
});

